package com.hbsc.mapper;

import com.hbsc.domain.RegisterPo;
import com.hbsc.domain.RegisterVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by fanliu on 2017-12-23.
 */
@Mapper
public interface RegisterMapper {
    /**
     * 新增
     * @param po
     */
    public void saveRegisterInfo(RegisterPo po);

    /**
     * 查询信息
     * @param openid
     * @return
     */
    public Long queryRegisterInfoCount(String openid);
    public RegisterVo queryRegisterInfo(String openid);

    /**
     * 更新信息
     * @param po
     * @return
     */
    public void updateRegisterInfo(RegisterPo po);

    public void deleteRegisterInfo(String openid);

    /**
     * 查询报名列表信息
     */
    public List<RegisterVo> queryRegisterList();
}
